<template>
    <view>
        <view class="page">
            <view class="flex benben-position-layout flex flex-wrap align-center wodejuzhuguanli_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
                <view class='flex flex-wrap align-center justify-between flex-sub wodejuzhuguanli_fd0_0'>
                    <view class='flex flex-wrap align-center wodejuzhuguanli_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
                        <text class='fu-iconfont2  wodejuzhuguanli_fd0_0_c0_c0'>&#xE794;</text>
                    </view>
                    <view class='flex flex-wrap align-stretch justify-center'>
                        <text class='wodejuzhuguanli_fd0_0_c1_c0'>我的消防管理</text>
                    </view>
                    <view class='flex flex-wrap align-center justify-end wodejuzhuguanli_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="navigateTo"
							:data-url="`/pages/grzx/fireSupervision/fireSupervision`">
                        <text>我要监督</text>
                    </view>
                </view>

            </view>
            <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
            <!---flex布局flex布局开始-->
            <view class="flex benben-flex-layout flex-wrap align-center wodejuzhuguanli_flex_1">
                <view class='flex flex-wrap align-center wodejuzhuguanli_fd1_0' v-for="(item,index) in listArr" :key="index" @tap.stop="handleJumpDiy" data-type="navigateTo"
							:data-url="`/pages/grzx/fireSupervision/fireSupervision?aid=${item.aid}`">
                    <view class='flex flex-wrap align-center justify-between wodejuzhuguanli_fd1_0_c0'>
                        <text class='wodejuzhuguanli_fd1_0_c0_c0'>消防监督</text>
                        <text class='wodejuzhuguanli_fd1_0_c0_c1' v-if="item.state == '0'">未受理</text>
						<text class='wodejuzhuguanli_fd1_0_c0_c1' v-if="item.state == '1'">已受理</text>
                    </view>
                    <view class='flex flex-wrap align-stretch wodejuzhuguanli_fd1_0_c1'>
                        <image v-if="item.evidence_collection_records" class='wodejuzhuguanli_fd1_0_c1_c0' mode="aspectFill" :src='JSON.parse(item.evidence_collection_records)[0]?JSON.parse(item.evidence_collection_records)[0]:"../../../static/images/18.png"'></image>
                        <view class='flex flex-direction flex-wrap align-stretch justify-between'>
                            <view class='flex flex-direction flex-wrap align-stretch'>
                                <text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c0'>{{item.region}}</text>
                                <text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c1'>房屋类型：{{item.housecate_name}}</text>
                            </view>
                            <text class='wodejuzhuguanli_fd1_0_c1_c1_c1'>{{item.detailed_address}}</text>
                        </view>
                    </view>
					 <!-- v-if="item.state == '0'" -->
                   <view v-if="item.state == '0'" class='flex flex-wrap align-center justify-end wodejuzhuguanli_fd1_0_c2' @tap.stop="handleJumpDiy" data-type="navigateTo"
							:data-url="`/pages/grzx/fireSupervision/fireSupervision?aid=${item.aid}`">
                        <view class='flex flex-wrap align-center self-center justify-center wodejuzhuguanli_fd1_0_c2_c0'>
                            <text class='wodejuzhuguanli_fd1_0_c2_c0_c0'>撤销</text>
                        </view>
                    </view>
                </view>
                <!-- <view class='flex flex-wrap align-center wodejuzhuguanli_fd1_0'>
                    <view class='flex flex-wrap align-center justify-between wodejuzhuguanli_fd1_0_c0'>
                        <text class='wodejuzhuguanli_fd1_0_c0_c0'>居住监督</text>
                        <text class='wodejuzhuguanli_fd1_0_c0_c1'>已受理</text>
                    </view>
                    <view class='flex flex-wrap align-stretch wodejuzhuguanli_fd1_0_c1'>
                        <image class='wodejuzhuguanli_fd1_0_c1_c0' mode="aspectFit" :src='STATIC_URL+"33.png"'></image>
                        <view class='flex flex-direction flex-wrap align-stretch justify-between'>
                            <view class='flex flex-direction flex-wrap align-stretch'>
                                <text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c0'>河南省郑州市二十七区</text>
                                <text class='wodejuzhuguanli_fd1_0_c1_c1_c0_c1'>房屋类型：写字楼</text>
                            </view>
                            <text class='wodejuzhuguanli_fd1_0_c1_c1_c1'>华城国际中心</text>
                        </view>
                    </view>
                </view> -->
            </view>

            <!---flex布局flex布局结束-->


        </view>
    </view>
</template>
<script>
    export default {
        components: {},


        data() {
            return {
				listArr:[],
			};
        },
        computed: {

        },
        watch: {},
        onLoad(options) {

        },
        onUnload() {

        },
        onReady() {

        },
        onShow() {
			this.getList()
        },
        onHide() {

        },
        onResize() {

        },
        onPullDownRefresh() {

        },
        onReachBottom(e) {

        },
        onPageScroll(e) {

        },
        methods: {
			getList(){
				this.$api.post('/m6752/66fa653e7d9d9',{
					page:1,
					list_rows:999,
				}).then(res=>{
					if(res.data.code == 1){
						this.listArr = res.data.data.data
					}else{
						this.$message.info(res.data.msg)
					}
				})
			},
        }
    };
</script>
<style lang="scss" scoped>
    .page {
        width: 100vw;
        overflow-x: hidden;
        min-height: calc(100vh - var(--window-bottom));
        background: #F8F8F8;
        background-size: 100% auto;
    }

    .wodejuzhuguanli_flex_0 {
        background: #fff;
        width: 750rpx;
        height: 88rpx;
        overflow: hidden;
        z-index: 10;
        top: 0rpx;
        background-size: 100% auto !important;
    }

    .wodejuzhuguanli_fd0_0_c1_c0 {
        font-size: 36rpx;
        font-weight: 500;
        color: #333333;
        line-height: 50rpx;
    }

    .wodejuzhuguanli_fd0_0_c0_c0 {
        font-size: 36rpx;
        color: #333;
    }

    .wodejuzhuguanli_fd0_0_c0 {
        width: 120rpx;
    }

    .wodejuzhuguanli_fd0_0 {
        padding: 0rpx 32rpx 0rpx 32rpx;
    }

    .wodejuzhuguanli_flex_1 {
        padding: 0rpx 24rpx 0rpx 24rpx;
    }

    .wodejuzhuguanli_fd1_0_c2_c0_c0 {
        color: #FFFFFF;
        font-size: 24rpx;
        font-weight: 400;
    }

    .wodejuzhuguanli_fd1_0_c2_c0 {
        background: #FC5F80;
        border-radius: 30rpx 30rpx 30rpx 30rpx;
        width: 164rpx;
        height: 60rpx;
    }

    .wodejuzhuguanli_fd1_0_c2 {
        border-top: 1px solid #eee;
        width: 100%;
        margin: 32rpx 0rpx 0rpx 0rpx;
        padding: 24rpx 0rpx 0rpx 0rpx;
    }

    .wodejuzhuguanli_fd1_0_c1_c1_c1 {
        color: #333333;
        font-size: 28rpx;
        font-weight: 500;
    }

    .wodejuzhuguanli_fd1_0_c1_c1_c0_c1 {
        color: #666666;
        font-size: 22rpx;
        font-weight: 400;
        margin: 16rpx 0rpx 0rpx 0rpx;
    }

    .wodejuzhuguanli_fd1_0_c1_c1_c0_c0 {
        color: #333333;
        font-size: 32rpx;
        font-weight: 500;
    }

    .wodejuzhuguanli_fd1_0_c1_c0 {
        width: 216rpx;
        height: 192rpx;
        border-radius: 16rpx;
        margin: 0rpx 20rpx 0rpx 0rpx;
    }

    .wodejuzhuguanli_fd1_0_c1 {
        width: 100%;
        margin: 24rpx 0rpx 0rpx 0rpx;
    }

    .wodejuzhuguanli_fd1_0_c0_c1 {
        color: #999999;
        font-size: 24rpx;
        font-weight: 400;
    }

    .wodejuzhuguanli_fd1_0_c0_c0 {
        color: #666666;
        font-size: 22rpx;
        font-weight: 400;
    }

    .wodejuzhuguanli_fd1_0_c0 {
        width: 100%;
    }

    .wodejuzhuguanli_fd1_0 {
        background: #FFFFFF;
        width: 100%;
        margin: 24rpx 0rpx 0rpx 0rpx;
        border-radius: 16rpx 16rpx 16rpx 16rpx;
        padding: 24rpx 24rpx 32rpx 24rpx;
    }
</style>